
import {ElMessage} from "element-plus"
export default  (data ,type = "success") => {
  ElMessage({
    message: data,
    type: type,
  })
}